//
//  Utilities.h
//  GeneralDiveUtilitiesTestHarness
//
//  Created by Donald MacKay on 11-04-21.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DiveCalcs : NSObject {
@private
    
}
+(long) ENDofGas: (double) fractionOfHelium atDepthOf: (double) depth isMetric: (BOOL) metric;
+(long) EADofGas: (double) fractionOfNitrogen atDepthOf: (double) depth isMetric: (BOOL) metric;
@end

@interface GasMix : NSObject {
    double oxygenContent;
    double heliumContent;
    double nitrogenContent;
@private
}
@property (readwrite) double oxygenContent;
@property (readwrite) double heliumContent;
@property (readwrite) double nitrogenContent;

- (id)initAsTriMixWithFO2Of: (double) fO2 andFractionOfHelium:(double) fHe;

-(double) MOD: (double) atPPO2 isMetric: (BOOL) metric;
-(double) ppO2: (long) atDepth isMetric: (BOOL) metric;
-(double) fO2;
@end